#settings2{
    width: 100%;
    height: 10%;
    background: linear-gradient(to bottom,rgb(44, 44, 44) 80%, rgb(36, 36, 36),transparent);
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 3;
    visibility: hidden;
}

#msg{
    position: absolute;
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    visibility: hidden;
    font-size: 50px;
    background-color: gray;
}

#source,#sourceunder,#taesdcanvas{
    position: fixed;
    left: 0px;
    top: 0px;

}

#selector{
    width: 256px;
    height: 256px;
    background-color: transparent;
    left: 0px;
    top: 0px;
    position: fixed;
    border: 2px solid green;
    transform: translate(-50%,-50%);
    z-index: 3;
}

#openimg{
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    opacity: 0;
    font-size: xx-large;
    text-align: center;
}

#uploadcontainer{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0%;
    opacity: 0;
    background: linear-gradient(to bottom,black,rgb(20,20,20),black);
    left: 0%;
    z-index: 4;
    
}
#sourceimg{
    display: none;
}
#source,.canvas{
    z-index: 2;
}
#taesdcanvas{
    z-index: 1;
}

#moveimg2{
    position: absolute;
    top: 50%;
    left: 15%;
    width: 10%;
    height: 50%;
    background-color: gray;
    transform: translate(-50%,-50%);
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    cursor: pointer;
}
#moveimg2:hover{
    background-color: rgb(20, 20, 20);
}

.moveimgclass,#done,#moveimg1{
    position: absolute;
    top: 50%;
    width: 10%;
    height: 50%;
    background-color: gray;
    transform: translate(-50%,-50%);
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}
.moveimgclass:hover{
    background-color: rgb(20, 20, 20);
}
#done{
    left: 95%;
}
#moveimg1{
    left: 5%;
}

#cancel{
    position: fixed;
    width: 20%;
    height: 5%;
    top: 12%;
    left: 94%;
    visibility: hidden;
    color: wheat;
    transform: rotate(45deg);
    cursor: pointer;
    font-size: 150px;
}

#cancel:hover{
    filter: brightness(50%);
}

#compare{
    position: fixed;
    top: 0%;
    left: 0%;
    background-color: rgba(255, 0, 0, 0.336);
    overflow: hidden;
    visibility: hidden;
    z-index: 2;
}






/*##################################################*/



html{
    background: linear-gradient(to top,rgb(29, 29, 29) 80%, rgb(5, 5, 5));
    background-attachment: fixed;
    background-repeat: no-repeat;
}

input{
    background-color: rgb(20, 20, 20);
    border-radius: 5%;
    outline: none;
    caret-color: transparent;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    border: 1px solid transparent;
    text-align: center;
}

p{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;    
}

#container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#settings{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(to bottom,rgb(44, 44, 44) 80%, rgb(36, 36, 36),transparent);
    display: flex;
    align-items:start;
    z-index: 3;
    padding-top: 1%;
    padding-left: 1%;
    padding-right: 1%;
}

#settingsbarbtns{
    width: 25%;
    height: 80%;
    display: flex;
    justify-content: flex-start;
    align-items:flex-start;
    flex-wrap: wrap;
}

#settingsbarparams{
    width: 46%;
    height: 80%;
    display: flex;
    justify-content: flex-start;
    align-items:flex-start;
    flex-wrap: wrap;
}

#workflowsettings, #generalsettings{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50%;
}

#locksetts, #lockfull, #othersetts{
    display: flex;
    height: 30%;
}

#lockfull .btn,#locksetts .btn, #othersetts .btn{
    width: 100%;
    padding: 3%;
}

#settingsbarthird{
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 80%;
    padding-left: 5%;
}

#uploadanotherimg,#openimgadd{
    position: absolute;
    width: 2%;
    height: 40%;
    top: 30%;
    left: 72.5%;
    
}

#uploadanotherimg{
    display: flex;
    background-color: rgb(20, 20, 20);
    justify-content: center;
    align-items: center;
}

#openimgadd{
    opacity: 0;
}

.icontxt{
    font-size: 50px;
}

.btn{
    display: flex;
    width: 25%;
    height: 25%;
    padding: 1%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: gray;
    cursor: pointer;
}
.btn:hover{
    background-color: rgb(20, 20, 20);
}

.txt{
    color: white;
    font-size: medium;
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
}

.dropbtn {
    background-color: transparent;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(20,20,20);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 3;
    cursor: pointer;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: rgb(44, 44, 44)}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: transparent;
}

#saveexit, #undo{
    visibility: hidden;
}

.uploadstyle{
    display: flex;
    width: 100%;
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;
    font-size: 10vh;
    justify-content: center;
    align-items: center;
}

#hint{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 20%;
    height: 8%;
    border: 2px solid orange;
    visibility: hidden;
    z-index: 100;
}

#hint *{
    color: orange;
}

#resetref p{
    font-size: small;
}